package com.zrrd.learn.chapter08面向对象.objectorientedclass;

/**
 * 会员测试类
 *
 * @author wrn
 * @version 1.0
 * @date 2023/7/28 8:21
 */

/**
 * 用户
 * 现有京东会员三人，请实例化这三个会员
 * 会员的属性有 编号 帐号 姓名 密码 性别 邮箱
 *
 * 角色
 * 现京东会员分为 超级会员 普通会员 钻石会员 ,请实例化三个以信息
 * 角色信息有 编号 名称 描述
 *
 * 请分析用户与角色的关系
 * 创建一个用户分组对象类，用来存储三个会员与三个角色的关系 。
 * 请自行设计这个类里面的属性以及方法
 */
public class MemberTest {

    public static void main(String[] args) {

        Member m1 = new Member(101,"111111","xx","111111","女","111111");
        Member m2 = new Member(102,"222222","xx","222222","女","222222");
        Member m3 = new Member(103,"333333","xx","333333","女","333333");


        Part p1 =new Part(01,"普通会员","普通会员");
        Part p2 =new Part(02,"钻石会员","钻石会员");
        Part p3 =new Part(03,"超级会员","超级会员");
    }

}
